package cn.bqjr.eily.core.entity;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "eily.sys")
public class SysProperties {
    private String sysName = "eily";                    // 系统标识
    private Boolean debug = false;                      // 是否调试模式
    private Boolean enabledMutliUserLogin = true;       // 是否允许多个用户同时登录同一帐号
    private Boolean enabledMultiTenant = false;         // 是否开启多租户

    public String getSysName() {
        return sysName;
    }

    public void setSysName(String sysName) {
        this.sysName = sysName;
    }

    public Boolean getDebug() {
        return debug;
    }

    public void setDebug(Boolean debug) {
        this.debug = debug;
    }

    public Boolean getEnabledMutliUserLogin() {
        return enabledMutliUserLogin;
    }

    public void setEnabledMutliUserLogin(Boolean enabledMutliUserLogin) {
        this.enabledMutliUserLogin = enabledMutliUserLogin;
    }

    public Boolean getEnabledMultiTenant() {
        return enabledMultiTenant;
    }

    public void setEnabledMultiTenant(Boolean enabledMultiTenant) {
        this.enabledMultiTenant = enabledMultiTenant;
    }
}
